GUI Help > Special > setProgressBarRange

setProgressBarRange
setProgressBarRange handle gadget, int min, int max

Description:
Sets the range of allowed values for a progress bar's position. This is from 0 to 100 by default.

Return Value:


Parameters:
gadget Handle of a progress bar gadget
min The minimum allowed position value
max The maximum allowed position value
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)